public class h4 {
    public static void main(String[] args) {
        int sum=10;
        for (int i = 1;i<sum;i++){
            int j=(sum-i)*2;
            System.out.println("换1元纸币"+i+"张,5角硬币"+j+"个");
        }
    }
}
